///////////////////////////////////////
//    Autor: Mato Kormuth              //
//    (C) Mato Programs 2011        //
//////////////////////////////////////
using System;
using System.Collections.Generic;
using System.Text;
using OggVorbisDecoder;

namespace MBMC.Ogg
{
    public class OggPlay
    {
        public const string TempFLDR = "temp/oggrenders";
        public void ToWav(string file)
        {
            /*OggVorbisDecoder.OggVorbisFileStream ofs = new OggVorbisFileStream(file);
            
            
            //OggVorbisMemoryStream oms = new OggVorbisMemoryStream(
            using (System.IO.FileStream fs = new System.IO.FileStream(file, System.IO.FileMode.Open, System.IO.FileAccess.Read))
            {
                byte[] OggData = new byte[fs.Length];
                System.IO.BinaryReader br = new System.IO.BinaryReader(fs);
                br.Read(OggData, 0, (int)fs.Length);
                //br.Close();
                int outfromread = ofs.Read(OggData, 0, (int)fs.Length);
                //OggVorbisEncodedStream oes = new OggVorbisEncodedStream(OggData);
                //oes.
             * 
             * */
            

            //}
        }
    }
}
